Skip to content

Conversation

RanVaknin
Copy link
Contributor

This PR adds the needed configuration, profile, and buildspec needed to release to maven central.

  1. new buildspec file
  • Pretty much follows the existing script
  • Uses new secrets
  • mvn deploy command targerts the new central-portal-publishing profile
  • Reports deployment size to cloudwatch
  1. new settings file used by the buildspec
  2. Adding <name> tags for the bom internal and archetype tools packages (required by maven central)
  3. Added the new profile to the bundle and bundle-sdk poms to be shaded.

@RanVaknin RanVaknin requested a review from a team as a code owner August 27, 2025 17:29
Copy link
Contributor

@dagnir dagnir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes based on comments.

Copy link

sonarqubecloud bot commented Sep 3, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

build:
commands:
- RELEASE_VERSION=`mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec`
- ARTIFACT_URL="https://repo1.maven.org/maven2/software/amazon/awssdk/aws-sdk-java/$RELEASE_VERSION/"
Copy link
Contributor

@dagnir dagnir Sep 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious about this change. With OSSRH, we query the Nexus instance directly since there's a lag between publishing to the nexus instance and it being available through Maven (i.e. at https://repo1.maven.org).

Is there a similar "pre-Maven" URL that we can hit for Central publishing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants